﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace WebConversion.Common.UrlRewriter
{
    public class RewriterRuleConfiguration
    {
        [XmlArray("RewriterRules"), XmlArrayItem("RewriterRule")]
        public List<RewriterRule> RewriterRules { get; set; }
    }

    public class RewriterRule
    {
        [XmlElement(ElementName = "LookFor")]
        public string LookFor { get; set; }

        [XmlElement(ElementName = "SendTo")]
        public string SendTo { get; set; }
    }
}
